from appserv.serv.config import app  # noqa: E402, F401

import appserv.serv.student
import appserv.serv.grade  # noqa: F401
import appserv.serv.ask_action  # noqa: F401
import appserv.serv.class_  # noqa: F401
import appserv.serv.elective  # noqa: F401
import appserv.serv.course  # noqa: F401

# 显式注册 class_ 路由，避免多实例问题
app.include_router(appserv.serv.class_.router)